<?php
$password = array('id' => 'password', 'name' => 'password', 'size' => 30);
$submit = array('class' => 'btn btn-success', 'name' => 'cancel', 'value' => lang('auth_delete_account'));

echo form_open($this->uri->uri_string());
?>

<div class="page-header">
    <h3><?php echo lang('auth_delete_account'); ?></h3>
</div>

<p>
    <span class="form-inline">
        <?php
        echo
        lang('auth_password', $password['id']).form_password($password).
        form_error($password['name'], '<span class="alert">', '</span>');
        if(isset($errors[$password['name']])
            echo '<span class="alert">'.$errors[$password['name']].'</span>';
        ?>
    </span>
</p>

<p class="form-actions"><?php echo form_submit('cancel', lang('auth_delete_account')); ?></p>

<?php echo form_close(); ?>